package EmpDao;

import java.io.Serializable;

public class Emp implements Serializable {
  private int id;
  private int age;
  private String name;    
  private double salary;
public int getId() {
	return id;
}
public void setId(int id) {
	this.id = id;
}
public int getAge() {
	return age;
}
public void setAge(int age) {
	this.age = age;
}
public String getName() {
	return name;
}
public void setName(String name) {
	this.name = name;
}
public double getSalary() {
	return salary;
}
public void setSalary(double salary) {
	this.salary = salary;
}
@Override
public String toString() {
	return "Emp [id=" + id + ", age=" + age + ", name=" + name + ", salary="
			+ salary + "]";
}


}
